package cn.zd.controller;

import cn.zd.service.ForeignExchangeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author zhangdong
 * @version 1.0.0
 * <p>
 */
@Controller public class ForeignExchangeController {

    @Autowired private ForeignExchangeService foreignExchangeService;

    @GetMapping("/init") public String init() {

        foreignExchangeService.init();

        return "index";
    }
}
